<template>
  <div id="app">
    <!-- <my-nav /> -->
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
  </div>
</template>

<script>
// import myNav from '@/components/my-nav'
export default {
  // components: { myNav },
  data() {
    return {
      params: ''
    }
  },
  created() {
    console.log(process.env.NODE_ENV)
    this.$store.dispatch('app/setConfig')
    // console.log(this.$route)
  },
  destroyed() {},
  mounted() {},
  methods: {}
}
</script>

<style lang="scss">
#app {
}
</style>
